#include <iostream>
#include <map>
#include <string>
#include "worc.h"

using namespace std;

int main(){

    string s;
    map<string,int> m;

    cout << "Enter the words and finish with EOF" << endl;

    while (cin >> s)
        ++m[s];


    return 0;

}
